#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT([gdbabar], [0.1], [gdbabar@gmail.com])
AC_CANONICAL_SYSTEM
AC_CONFIG_HEADER([config.h])

AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)

AM_PROG_CC_C_O

CXX=no
F77=no
GCJ=no

AM_PROG_LIBTOOL
LIBTOOL="$LIBTOOL --silent"

AC_PROG_INTLTOOL

GETTEXT_PACKAGE=gdbabar
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used.])

ALL_LINGUAS="fr"
AM_GLIB_GNU_GETTEXT

# Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

# Checks for library functions.
AC_FUNC_CLOSEDIR_VOID
AC_CHECK_FUNCS([memset])

PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8.0)

AC_CONFIG_FILES([Makefile
                 data/Makefile
		 po/Makefile.in
                 src/Makefile])
AC_OUTPUT

